<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>上海金速铝业有限公司 - 铝型材挤压成型专家</title>
    <style>
        @keyframes gradient {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
        }
        
        /* 头部样式 */
        header {
            background: linear-gradient(135deg, #2c3e50, #1a2a3a);
            color: white;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            font-size: 40px;
            /* 添加厚重的红色阴影效果 */
            text-shadow: 
                1px 1px 1px #3fa7cf, 
                2px 2px 1px #3786a5,
                3px 3px 1px #2e6f91,
                4px 4px 1px #1b576f,
                5px 5px 1px #114459,
                0 6px 1px rgba(0,0,0,.1),
                0 0 5px rgba(0,0,0,.1),
                0 1px 3px rgba(0,0,0,.3),
                0 3px 5px rgba(0,0,0,.2),
                0 5px 10px rgba(0,0,0,.25),
                0 10px 10px rgba(0,0,0,.2),
                0 20px 20px rgba(0,0,0,.15);
            color: #00e8f8;
        }
        
        .logo span {
            color: #f39c12;
            text-shadow: 
                1px 1px 1px #ffa500, 
                2px 2px 1px #dd861a,
                3px 3px 1px #c1821e,
                4px 4px 1px #cf9230,
                5px 5px 1px #cb7d00(0, 0%, 67%),
                0 6px 1px rgba(0,0,0,.1),
                0 0 5px rgba(0,0,0,.1),
                0 1px 3px rgba(0,0,0,.3),
                0 3px 5px rgba(0,0,0,.2),
                0 5px 10px rgba(0,0,0,.25),
                0 10px 10px rgba(0,0,0,.2),
                0 20px 20px rgba(0,0,0,.15);
        }
        .logo img{
            width: 50px;
            height: 50px;
            vertical-align: middle;
            margin-right: 10px;

        }
        /* 添加用户入口样式 */
        .user-actions {
            display: flex;
            gap: 15px;
        }
        
        .user-actions a {
            color: white;
            text-decoration: none;
            padding: 5px 10px;
            border: 1px solid #f39c12;
            border-radius: 4px;
            transition: all 0.3s;
        }
        
        .user-actions a:hover {
            background: #f39c12;
        }
        
        /* 主要横幅区域 - 减小高度 */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1600880292089-90a75fa74211?ixlib=rb-4.0.3') no-repeat center center/cover;
            height: 40vh; /* 从100vh改为60vh */
            display: flex;
            align-items: center;
            text-align: center;
            color: white;
            margin-top: 0;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding-top: 100px;
        }

        .hero-content span {
            color: #24d8cf;
        }
        
        .hero h1 {
            font-size: 2.5rem; /* 稍微减小字体 */
            margin-bottom: 1rem;
        }
        
        .hero p {
            font-size: 1.1rem; /* 稍微减小字体 */
            margin-bottom: 2rem;
        }
        
        .btn {
            display: inline-block;
            background: #f39c12;
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            border: 2px solid #f39c12;
        }
        
        .btn:hover {
            background: transparent;
            color: #f39c12;
        }
        
        /* 关于我们 */
        .section {
            padding: 60px 0; /* 减小内边距 */
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: #f39c12;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: #2c3e50;
        }
        
        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .about-image img {
            
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* 公共展示区 */
        .public-info {
            background: #f8f9fa;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .info-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 20px;
        }
        
        .info-card h3 {
            color: #256cb3;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f39c12;
        }
        
        .info-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #eee;
        }
        
        .info-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .info-item h4 {
            color: #f39c12;
            margin-bottom: 5px;
        }
        
        /* 铝价展示 */
        .aluminum-price {
            background: linear-gradient(135deg, #2c3e50, #1a2a3a);
            color: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
        }
        
        .price-value {
            font-size: 2rem;
            font-weight: bold;
            color: #f39c12;
            margin: 15px 0;
        }
        
        .price-date {
            font-size: 0.9rem;
            color: #bbb;
        }
        
        /* 产品展示 */
        .products {
            background: #f8f9fa;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
        }
        
        .product-image {
            height: 200px;
            background: #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #979797;
            
        }
        
        .product-info {
            padding: 20px;
        }
        
        .product-info h3 {
            margin-bottom: 10px;
            color: #1f89f3;
        }
        
        /* 联系我们 */
        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            text-align: center;
            margin-top: 50px;
        }
        
        .contact-item {
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .contact-item i {
            font-size: 2.5rem;
            color: #f39c12;
            margin-bottom: 20px;
        }
        
        /* 页脚 */
        footer {
            background: #2c3e50;
            color: white;
            padding: 40px 0 20px;
            text-align: center;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
            text-align: left;
        }
        
        .footer-section h3 {
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: #f39c12;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            font-size: 0.9rem;
            color: #bbb;
        }
        
        /* 登录模态框样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            animation: gradient 5s ease infinite;
        }
        
        .modal-content {
            background: linear-gradient(135deg, #667eea 0%, #510668 100%);
            margin: 10% auto;
            padding: 20px;
            border-radius: 15px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(27, 81, 163, 0.18);
        }
        
        .modal-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .modal-header h2 {
            color: white;
            font-size: 30px;
            margin: 0;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            color: white;
            margin-bottom: 5px;
        }
        
        .form-group input {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 8px;
            box-sizing: border-box;
            background-color: rgba(255, 255, 255, 0.8);
        }
        
        .form-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .form-buttons input {
            width: 45%;
            padding: 12px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .submit-btn {
            background: linear-gradient(45deg, #4ecdc4, #45b7d1);
            color: white;
        }
        
        .reset-btn {
            background: linear-gradient(45deg, #24d8cf, #02b8a8);
            color: white;
        }
        
        .close {
            color: white;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .close:hover {
            color: #f39c12;
        }
        
        .error-message {
            color: #e74c3c;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }
        
        /* 折叠菜单样式 */
        .collapsible-menu {
            position: absolute;
            top: 100px;
            left: 1%;
            z-index: 1001;
        }
        
        .menu-trigger {
            background: #f39c12;
            color: white;
            padding: 10px 15px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: bold;
            box-shadow: 0 2px 0px rgba(0,0,0,0.2);
        }
        
        .menu-content {
            display: none;
            background: #2c3e50;
            min-width: 120px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
            border-radius: 5px;
            margin-top: 0px;
            position: absolute;
            left: 0;
            top: 100%;
        }
        
        .collapsible-menu:hover .menu-content {
            display: block;
        }
        
        .menu-content a {
            color: white;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            border-bottom: 1px solid #3d566e;
        }
        
        .menu-content a:last-child {
            border-bottom: none;
        }
        
        .menu-content a:hover {
            background-color: #3d566e;
        }
        
        .contact-dropdown {
            position: relative;
        }
        
        .contact-submenu {
            display: none;
            background: #1a2a3a;
            padding-left: 15px;
        }
        
        .contact-dropdown:hover .contact-submenu {
            display: block;
        }
        
        /* 调整主内容的顶部边距 */
        .hero {
            margin-top: 80px;
        }
      
        /* 响应式设计 */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
            }
            
            nav ul {
                margin-top: 15px;
            }
            
            nav ul li {
                margin: 0 10px;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .about-content {
                flex-direction: column;
            }
            
            .user-actions {
                margin-top: 10px;
            }
        }

    </style>
</head>
<body>
    <!-- 头部导航 -->
    <header>
        <div class="container">
            <div class="header-content">
           
               
                <div class="logo">
                    <img src="LOGO.gif" alt="">
                    上海<span>金速</span>铝业
                </div>
                </div>
                <div class="collapsible-menu">
                    <div class="menu-trigger">☰ 菜单</div>
                    <div class="menu-content">
                        <a href="#home">首页</a>
                        <a href="#products">产品展示</a>
                        
                        <a href="#contact">联系方式</a>
                        <a href="#">在线客服</a>
                        
                    
                        <a href="#" id="login-link">员工中心</a>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- 登录模态框 -->
    <div id="loginModal" class="modal">
        <div class="modal-content">
            <span class="close">&times;</span>
            <div class="modal-header">
                <h2>内部人员后台管理系统</h2>
            </div>
            <form id="loginForm">
                <div class="form-group">
                    <label for="username">用户名:</label>
                    <input type="text" id="username" placeholder="请输入用户名" required>
                    <div id="username-error" class="error-message">用户名只能包含字母、数字和下划线</div>
                </div>
                <div class="form-group">
                    <label for="password">密码:</label>
                    <input type="password" id="password" placeholder="请输入密码" required>
                    <div id="password-error" class="error-message">密码只能包含字母、数字和下划线</div>
                </div>
                <div class="form-buttons">
                    <input type="submit" value="登录" class="submit-btn">
                    <input type="reset" value="重置" class="reset-btn">
                </div>
            </form>
        </div>
    </div>

    <!-- 主要横幅 -->
    <section class="hero" id="home">
        <div class="hero-content">
            <h1>专业铝型材<span>挤压成型</span>解决方案</h1>
            <p>上海金速铝业有限公司致力于为客户提供高品质、定制化的铝型材产品，广泛应用于建筑、交通、电子等多个领域。</p>
            <a href="#contact" class="btn">联系我们</a>
        </div>
    </section>

    <!-- 公共信息展示区 -->
    <section class="section public-info">
        <div class="container">
            <div class="section-title">
                <h2>信息公开</h2>
            </div>
            <div class="info-grid">
                <div class="info-card">
                    <h3>公司公告</h3>
                    <div class="info-item">
                        <h4>国庆节放假通知</h4>
                        <p>根据国家规定，2023年国庆节放假时间为10月1日至10月6日，共6天...</p>
                    </div>
                    <div class="info-item">
                        <h4>新产品上线</h4>
                        <p>新型高导热电子散热铝型材系列正式上线，欢迎咨询...</p>
                    </div>
                    <div class="info-item">
                        <h4>设备维护通知</h4>
                        <p>因设备维护，9月25日生产线将暂停8小时...</p>
                    </div>
                </div>
                
                <div class="info-card">
                    <h3>成交案例</h3>
                    <div class="info-item">
                        <h4>大型建筑项目</h4>
                        <p>为某大型商业综合体提供幕墙铝型材500吨，项目顺利竣工...</p>
                    </div>
                    <div class="info-item">
                        <h4>工业设备配套</h4>
                        <p>为某自动化设备制造商提供工业铝型材框架材料300吨...</p>
                    </div>
                    <div class="info-item">
                        <h4>电子产品散热</h4>
                        <p>与知名电子厂商签订长期散热铝型材供应合同...</p>
                    </div>
                </div>
                
                <div class="info-card aluminum-price">
                    <h3>今日铝价</h3>
                    <div class="price-value">¥18,650/吨</div>
                    <p>长江现货</p>
                    <div class="price-date">2023年9月20日</div>
                    <p><small>数据来源：上海有色金属网</small></p>
                </div>
            </div>
        </div>
    </section>

    <!-- 关于我们 -->
    <section class="section" id="about">
        <div class="container">
            <div class="section-title">
                <h2>关于我们</h2>
            </div>
            <div class="about-content">
                <div class="about-text">
                    <h3>上海金速铝业有限公司</h3>
                    <p>上海金速铝业有限公司是一家专业从事铝型材挤压成型的现代化企业。我们拥有先进的生产设备和技术团队，致力于为客户提供高品质的铝型材产品。</p>
                    <p>公司成立于2005年，经过十余年的发展，已成为行业内颇具影响力的企业。我们专注于建筑铝型材、工业铝型材、装饰铝型材等产品的研发、生产和销售。</p>
                    <p>凭借先进的生产工艺、严格的质量控制体系和完善的售后服务，我们的产品远销国内外市场，赢得了广大客户的信赖和好评。</p>
                    <a href="#products" class="btn">查看产品</a>
                </div>
                <div class="about-image">
                    
                    <img src="factory.jpg" alt="上海金速铝业有限公司工厂展示">
                
                </div>
            </div>
        </div>
    </section>

    <!-- 产品展示 -->
    <section class="section products" id="products">
        <div class="container">
            <div class="section-title">
                <h2>我们的产品</h2>
            </div>
            <div class="products-grid">
                <div class="product-card">
                    <div class="product-image">建筑铝型材</div>
                    <div class="product-info">
                        <h3>建筑铝型材</h3>
                        <p>适用于门窗、幕墙、装饰等建筑领域，具有强度高、耐腐蚀、美观大方等特点。</p>
                    </div>
                </div>
                <div class="product-card">
                    <div class="product-image"><img src="fac.jpg" alt="" sizes="400px" height="550px"></div>
                    <div class="product-info">

                        <h3>工业铝型材</h3>
                        <p style="color: rgb(102, 243, 8);">广泛应用于机械框架、自动化设备、输送线等领域，满足工业生产需求。</p>
                    </div>
                </div>
                <div class="product-card">
                    <div class="product-image">电子散热器</div>
                    <div class="product-info">
                        <h3>电子散热器</h3>
                        <p>专为电子设备设计的散热铝型材，有效提升设备稳定性和使用寿命。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 联系我们 -->
    <section class="section" id="contact">
        <div class="container">
            <div class="section-title">
                <h2>联系我们</h2>
            </div>
            <div class="contact-info">
                <div class="contact-item">
                    <h3>地址</h3>
                    <p>上海市浦东新区XX路XX号</p>
                </div>
                <div class="contact-item">
                    <h3>电话</h3>
                    <p>+86 021-XXXX-XXXX</p>
                </div>
                <div class="contact-item">
                    <h3>邮箱</h3>
                    <p>info@jinsualuminum.com</p>
                </div>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-section">
                    <h3>上海金速铝业</h3>
                    <p>专业铝型材挤压成型解决方案提供商，致力于为客户提供高品质的产品和服务。</p>
                </div>
                <div class="footer-section">
                    <h3>快速链接</h3>
                    <p><a href="#home" style="color:#bbb;text-decoration:none;">首页</a></p>
                    <p><a href="#about" style="color:#bbb;text-decoration:none;">关于</a></p>
                    <p><a href="#products" style="color:#bbb;text-decoration:none;">产品</a></p>
                    <p><a href="#contact" style="color:#bbb;text-decoration:none;">联系</a></p>
                </div>
                <div class="footer-section">
                    <h3>联系方式</h3>
                    <p>电话: +86 021-XXXX-XXXX</p>
                    <p>邮箱: info@jinsualuminum.com</p>
                    <p>地址: 上海市浦东新区XX路XX号</p>
                </div>
            </div>
            <div class="footer-bottom">
                <p>&copy; 2023 上海金速铝业有限公司 版权所有</p>
            </div>
        </div>
    </footer>

    <script>
        // 获取模态框元素
        var modal = document.getElementById("loginModal");
        var loginLink = document.getElementById("login-link");
        var closeBtn = document.getElementsByClassName("close")[0];
        
        // 打开模态框
        loginLink.onclick = function(event) {
            event.preventDefault();
            modal.style.display = "block";
        }
        
        // 关闭模态框
        closeBtn.onclick = function() {
            modal.style.display = "none";
        }
        
        // 点击模态框外部关闭
        window.onclick = function(event) {
            if (event.target == modal) {
                modal.style.display = "none";
            }
        }
        
        // 用户名和密码输入验证
        const usernameInput = document.getElementById('username');
        const passwordInput = document.getElementById('password');
        const usernameError = document.getElementById('username-error');
        const passwordError = document.getElementById('password-error');
        
        // 用户名只能包含英文字母、数字和下划线
        usernameInput.addEventListener('input', function() {
            const usernameRegex = /^[a-zA-Z0-9_]+$/;
            if (this.value && !usernameRegex.test(this.value)) {
                usernameError.style.display = 'block';
            } else {
                usernameError.style.display = 'none';
            }
        });
        
        // 密码只能包含英文字母、数字和下划线
        passwordInput.addEventListener('input', function() {
            const passwordRegex = /^[a-zA-Z0-9_]+$/;
            if (this.value && !passwordRegex.test(this.value)) {
                passwordError.style.display = 'block';
            } else {
                passwordError.style.display = 'none';
            }
        });
        
        // 登录处理
        document.getElementById('loginForm').addEventListener('submit', function(e) {
            e.preventDefault();
            const username = document.getElementById('username').value;
            const password = document.getElementById('password').value;
            
            // 验证输入格式
            const usernameRegex = /^[a-zA-Z0-9_]+$/;
            const passwordRegex = /^[a-zA-Z0-9_]+$/;
            
            if (!usernameRegex.test(username)) {
                alert('用户名格式不正确！只能包含英文字母、数字和下划线。');
                return;
            }
            
            if (!passwordRegex.test(password)) {
                alert('密码格式不正确！只能包含英文字母、数字和下划线。');
                return;
            }
            
            // 简单验证（实际项目中应连接后端验证）
            if(username && password) {
                modal.style.display = "none";
                // 登录成功后跳转到管理页面的生产界面
                window.location.href = "wosuicode.html#production-section";
                alert('登录成功！');
            } else {
                alert('请输入用户名和密码！');
            }
        });
    </script>
</body>
</html>